// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizsample0013', 'ibizsample0012name', 'ibizuniproductname', 'unit', 'unitprice', 'quantity', 'updatedate', 'ibizsample0013id', 'srfkey', 'srfdataaccaction', 'ibizuniproductid', 'ibizsample0012id', 'srfmajortext', ...wfKey];
    }

    get ibizsample0012name() {
        return this.$DO.ibizsample0012name;
    }

    set ibizsample0012name(value: any) {
        this.$DO.ibizsample0012name = value;
    }
    get ibizuniproductname() {
        return this.$DO.ibizuniproductname;
    }

    set ibizuniproductname(value: any) {
        this.$DO.ibizuniproductname = value;
    }
    get unit() {
        return this.$DO.unit;
    }

    set unit(value: any) {
        this.$DO.unit = value;
    }
    get unitprice() {
        return this.$DO.unitprice;
    }

    set unitprice(value: any) {
        this.$DO.unitprice = value;
    }
    get quantity() {
        return this.$DO.quantity;
    }

    set quantity(value: any) {
        this.$DO.quantity = value;
    }
    get updatedate() {
        return this.$DO.updatedate;
    }

    set updatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get ibizsample0013id() {
        return this.$DO.ibizsample0013id;
    }

    set ibizsample0013id(value: any) {
        this.$DO.ibizsample0013id = value;
    }
    get srfkey() {
        return this.$DO.ibizsample0013id;
    }

    set srfkey(value: any) {
        this.$DO.ibizsample0013id = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizsample0013id;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizsample0013id = value;
    }
    get ibizuniproductid() {
        return this.$DO.ibizuniproductid;
    }

    set ibizuniproductid(value: any) {
        this.$DO.ibizuniproductid = value;
    }
    get ibizsample0012id() {
        return this.$DO.ibizsample0012id;
    }

    set ibizsample0012id(value: any) {
        this.$DO.ibizsample0012id = value;
    }
    get srfmajortext() {
        return this.$DO.ibizsample0013name;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizsample0013name = value;
    }

    set ibizsample0013(value: any) {
        this.$DO.ibizsample0013id = value;
    }
    get ibizsample0013() {
        return this.$DO.ibizsample0013id;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]